// 管理员表 杨鋆
const mongoose = require("./mongoose")

let Schema = mongoose.Schema

let adminuserSchema = new Schema({
    username: String,
    password: String
})
const adminUser = mongoose.model("adminusers",adminuserSchema)
// adminUser.create([{username:'admin',password:'admin123'}],(err,data)=>{
//     if(!err){
//         console.log('添加管理员成功');
//         console.log(data);
//     }
// })
module.exports = adminUser